package my.framework.dubbo.sample.user.mapper;

import my.framework.dubbo.sample.model.user.UserDO;

import java.util.List;

/**
 * User Mapper
 *
 * @author xuexue
 * @date 2018/11/16 22:08
 */
public interface UserMapper {
    /**
     * 查询用户
     *
     * @param userDO
     * @return
     */
    UserDO queryUser(UserDO userDO);

    /**
     * 查询所有用户
     * @return
     */
    List<UserDO> queryAll();
}
